package com.three.mapper;

import com.three.entity.Branch;
import com.three.entity.Inlibrary;
import com.three.entity.StorageVolume;
import com.three.vo.BranchVo;
import com.three.vo.intLibraryVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
* @author 曹梦1
* @description 针对表【inlibrary】的数据库操作Mapper
* @createDate 2024-10-26 09:22:17
* @Entity com.three.entity.Inlibrary
*/
public interface InlibraryMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Inlibrary record);

    int insertSelective(Inlibrary record);

    Inlibrary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Inlibrary record);

    int updateByPrimaryKey(Inlibrary record);


    List<Inlibrary> selectIntLib(BranchVo branchVo);

    int insertlin(intLibraryVO intLibraryVO1);


    // 修改状态 根据入库id
    int updateStateById(@Param("id") Integer id,@Param("dates") Date date);

    //修改状态为不通过，点击驳回触发
    int updateStateNo(
            @Param("id") Integer id,
            @Param("remark") String remarks,
            @Param("dates")Date date);

    List<Inlibrary> selectbybranchid(Integer branchid);
}
